package SingleList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-20
 * Time: 22:18
 */
public class Test {
    public static void main(String[] args) {
        MySingleList list=new MySingleList();
        list.addFirst(3);
        list.addFirst(2);
        list.addFirst(1);
        list.addLast(4);
        list.addLast(5);
        list.addLast(4);
        list.addLast(2);
        list.addLast(4);
        list.addLast(3);
        list.removeAllKey(1);
        list.display();
    }
}
